package com.seawaterbt.ssm.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * <p>
 * 
 * </p>
 *
 * @author ycc
 * @since 2019-10-29
 */
public class HeatingExceptionInfo extends BaseModel {

    private static final long serialVersionUID = 1L;

    /**
     * 发生时间
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm")
    private Date startTime;

    /**
     * 投诉编号
     */
    private String codeProvince;

    /**
     * 投诉编号
     */
    private String codeCity;

    private String regionCode;

    private String area;

    /**
     * 责任单位
     */
    private String companyCode;

    /**
     * 异常分类
     */
    private String exceptionType;

    /**
     * 情况描述
     */
    private String caseDescription;

    /**
     * 应急处置描述
     */
    private String disposalDescription;

    private String address;

    /**
     * 联系人
     */
    private String contact;

    private String telephone;

    /**
     * 影响面积（㎡）
     */
    private String impactArea;

    /**
     * 影响户数
     */
    private Integer impactHouseCount;

    /**
     * 影响时长（小时）
     */
    private String impactTime;

    /**
     * 计划恢复时间
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm")
    private Date planReplyTime;

    /**
     * 是否转办   0 否  1是
     */
    private Integer isComplaint;

    /**
     * 是否督办  0 否  1是
     */
    private Integer isOversee;

    /**
     * 0未办结  1已办结
     */
    private Integer status;

    /**
     * 办结时间
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm")
    private Date closeTime;

    /**
     *   1企业  2县级 3市级
     */
    private Integer complainLevel;

    private Integer innerId;

    private Integer source;

    private Integer provinceType;

    private Integer statusCity;

    private Integer statusCounty;

    public Date getStartTime() {
        return startTime;
    }

    public void setStartTime(Date startTime) {
        this.startTime = startTime;
    }

    public String getCodeProvince() {
        return codeProvince;
    }

    public void setCodeProvince(String codeProvince) {
        this.codeProvince = codeProvince;
    }

    public String getCodeCity() {
        return codeCity;
    }

    public void setCodeCity(String codeCity) {
        this.codeCity = codeCity;
    }

    public String getRegionCode() {
        return regionCode;
    }

    public void setRegionCode(String regionCode) {
        this.regionCode = regionCode;
    }

    public String getArea() {
        return area;
    }

    public void setArea(String area) {
        this.area = area;
    }

    public String getCompanyCode() {
        return companyCode;
    }

    public void setCompanyCode(String companyCode) {
        this.companyCode = companyCode;
    }

    public String getExceptionType() {
        return exceptionType;
    }

    public void setExceptionType(String exceptionType) {
        this.exceptionType = exceptionType;
    }

    public String getCaseDescription() {
        return caseDescription;
    }

    public void setCaseDescription(String caseDescription) {
        this.caseDescription = caseDescription;
    }

    public String getDisposalDescription() {
        return disposalDescription;
    }

    public void setDisposalDescription(String disposalDescription) {
        this.disposalDescription = disposalDescription;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getContact() {
        return contact;
    }

    public void setContact(String contact) {
        this.contact = contact;
    }

    public String getTelephone() {
        return telephone;
    }

    public void setTelephone(String telephone) {
        this.telephone = telephone;
    }

    public String getImpactArea() {
        return impactArea;
    }

    public void setImpactArea(String impactArea) {
        this.impactArea = impactArea;
    }

    public Integer getImpactHouseCount() {
        return impactHouseCount;
    }

    public void setImpactHouseCount(Integer impactHouseCount) {
        this.impactHouseCount = impactHouseCount;
    }

    public String getImpactTime() {
        return impactTime;
    }

    public void setImpactTime(String impactTime) {
        this.impactTime = impactTime;
    }

    public Date getPlanReplyTime() {
        return planReplyTime;
    }

    public void setPlanReplyTime(Date planReplyTime) {
        this.planReplyTime = planReplyTime;
    }

    public Integer getIsComplaint() {
        return isComplaint;
    }

    public void setIsComplaint(Integer isComplaint) {
        this.isComplaint = isComplaint;
    }

    public Integer getIsOversee() {
        return isOversee;
    }

    public void setIsOversee(Integer isOversee) {
        this.isOversee = isOversee;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Date getCloseTime() {
        return closeTime;
    }

    public void setCloseTime(Date closeTime) {
        this.closeTime = closeTime;
    }

    public Integer getComplainLevel() {
        return complainLevel;
    }

    public void setComplainLevel(Integer complainLevel) {
        this.complainLevel = complainLevel;
    }

    public Integer getInnerId() {
        return innerId;
    }

    public void setInnerId(Integer innerId) {
        this.innerId = innerId;
    }

    public Integer getSource() {
        return source;
    }

    public void setSource(Integer source) {
        this.source = source;
    }

    public Integer getProvinceType() {
        return provinceType;
    }

    public void setProvinceType(Integer provinceType) {
        this.provinceType = provinceType;
    }

    public Integer getStatusCity() {
        return statusCity;
    }

    public void setStatusCity(Integer statusCity) {
        this.statusCity = statusCity;
    }

    public Integer getStatusCounty() {
        return statusCounty;
    }

    public void setStatusCounty(Integer statusCounty) {
        this.statusCounty = statusCounty;
    }

    @Override
    public String toString() {
        return "HeatingExceptionInfo{" +
        "startTime=" + startTime +
        ", codeProvince=" + codeProvince +
        ", codeCity=" + codeCity +
        ", regionCode=" + regionCode +
        ", area=" + area +
        ", companyCode=" + companyCode +
        ", exceptionType=" + exceptionType +
        ", caseDescription=" + caseDescription +
        ", disposalDescription=" + disposalDescription +
        ", address=" + address +
        ", contact=" + contact +
        ", telephone=" + telephone +
        ", impactArea=" + impactArea +
        ", impactHouseCount=" + impactHouseCount +
        ", impactTime=" + impactTime +
        ", planReplyTime=" + planReplyTime +
        ", isComplaint=" + isComplaint +
        ", isOversee=" + isOversee +
        ", status=" + status +
        ", closeTime=" + closeTime +
        ", complainLevel=" + complainLevel +
        "}";
    }
}
